package com.java.androidmarket.service;

import com.java.androidmarket.entity.Goods;

import java.util.List;

/**
 * description:
 * author:张腾
 * date:2021-04-30
 */
public interface CartService {

    List<Goods> getCart(int userId);

    void addCart(int userId, int goodsId);

    int updateGoodsNum(int userId,int goodsId,int goodsNum);

    void deleteGoods(int userId,int goodsId);
}
